\(\int x \sqrt {\text {arccosh}(a x)} \, dx\) [75]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F(-2)]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 10, antiderivative size = 93 \[ \int x \sqrt {\text {arccosh}(a x)} \, dx=-\frac {\sqrt {\text {arccosh}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\sqrt {\frac {\pi }{2}} \text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{16 a^2}-\frac {\sqrt {\frac {\pi }{2}} \text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{16 a^2} \]

[Out]

-1/32*erf(2^(1/2)*arccosh(a*x)^(1/2))*2^(1/2)*Pi^(1/2)/a^2-1/32*erfi(2^(1/2)*arccosh(a*x)^(1/2))*2^(1/2)*Pi^(1
/2)/a^2-1/4*arccosh(a*x)^(1/2)/a^2+1/2*x^2*arccosh(a*x)^(1/2)

Rubi [A] (verified)

Time = 0.24 (sec) , antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.700, Rules used = {5884, 5953, 3393, 3388, 2211, 2235, 2236} \[ \int x \sqrt {\text {arccosh}(a x)} \, dx=-\frac {\sqrt {\frac {\pi }{2}} \text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{16 a^2}-\frac {\sqrt {\frac {\pi }{2}} \text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{16 a^2}-\frac {\sqrt {\text {arccosh}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)} \]

[In]

Int[x*Sqrt[ArcCosh[a*x]],x]

[Out]

-1/4*Sqrt[ArcCosh[a*x]]/a^2 + (x^2*Sqrt[ArcCosh[a*x]])/2 - (Sqrt[Pi/2]*Erf[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(16*a^
2) - (Sqrt[Pi/2]*Erfi[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(16*a^2)

Rule 2211

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - c*(
f/d)) + f*g*(x^2/d)), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2235

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2
]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2236

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erf[(c + d*x)*Rt[(-b)*Log[F],
 2]]/(2*d*Rt[(-b)*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3388

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 3393

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 5884

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)*((a + b*ArcCosh[c*x])^n/(
m + 1)), x] - Dist[b*c*(n/(m + 1)), Int[x^(m + 1)*((a + b*ArcCosh[c*x])^(n - 1)/(Sqrt[1 + c*x]*Sqrt[-1 + c*x])
), x], x] /; FreeQ[{a, b, c}, x] && IGtQ[m, 0] && GtQ[n, 0]

Rule 5953

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d1_) + (e1_.)*(x_))^(p_.)*((d2_) + (e2_.)*(x_))^(p_
.), x_Symbol] :> Dist[(1/(b*c^(m + 1)))*Simp[(d1 + e1*x)^p/(1 + c*x)^p]*Simp[(d2 + e2*x)^p/(-1 + c*x)^p], Subs
t[Int[x^n*Cosh[-a/b + x/b]^m*Sinh[-a/b + x/b]^(2*p + 1), x], x, a + b*ArcCosh[c*x]], x] /; FreeQ[{a, b, c, d1,
 e1, d2, e2, n}, x] && EqQ[e1, c*d1] && EqQ[e2, (-c)*d2] && IGtQ[p + 3/2, 0] && IGtQ[m, 0]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {1}{4} a \int \frac {x^2}{\sqrt {-1+a x} \sqrt {1+a x} \sqrt {\text {arccosh}(a x)}} \, dx \\ & = \frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\text {Subst}\left (\int \frac {\cosh ^2(x)}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{4 a^2} \\ & = \frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\text {Subst}\left (\int \left (\frac {1}{2 \sqrt {x}}+\frac {\cosh (2 x)}{2 \sqrt {x}}\right ) \, dx,x,\text {arccosh}(a x)\right )}{4 a^2} \\ & = -\frac {\sqrt {\text {arccosh}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\text {Subst}\left (\int \frac {\cosh (2 x)}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{8 a^2} \\ & = -\frac {\sqrt {\text {arccosh}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\text {Subst}\left (\int \frac {e^{-2 x}}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{16 a^2}-\frac {\text {Subst}\left (\int \frac {e^{2 x}}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{16 a^2} \\ & = -\frac {\sqrt {\text {arccosh}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\text {Subst}\left (\int e^{-2 x^2} \, dx,x,\sqrt {\text {arccosh}(a x)}\right )}{8 a^2}-\frac {\text {Subst}\left (\int e^{2 x^2} \, dx,x,\sqrt {\text {arccosh}(a x)}\right )}{8 a^2} \\ & = -\frac {\sqrt {\text {arccosh}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\text {arccosh}(a x)}-\frac {\sqrt {\frac {\pi }{2}} \text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{16 a^2}-\frac {\sqrt {\frac {\pi }{2}} \text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{16 a^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 65, normalized size of antiderivative = 0.70 \[ \int x \sqrt {\text {arccosh}(a x)} \, dx=\frac {8 \sqrt {\text {arccosh}(a x)} \cosh (2 \text {arccosh}(a x))-\sqrt {2 \pi } \left (\text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )+\text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )\right )}{32 a^2} \]

[In]

Integrate[x*Sqrt[ArcCosh[a*x]],x]

[Out]

(8*Sqrt[ArcCosh[a*x]]*Cosh[2*ArcCosh[a*x]] - Sqrt[2*Pi]*(Erf[Sqrt[2]*Sqrt[ArcCosh[a*x]]] + Erfi[Sqrt[2]*Sqrt[A
rcCosh[a*x]]]))/(32*a^2)

Maple [A] (verified)

Time = 0.20 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.81

method result size
default \(\frac {\sqrt {2}\, \left (8 \sqrt {2}\, \sqrt {\operatorname {arccosh}\left (a x \right )}\, \sqrt {\pi }\, a^{2} x^{2}-4 \sqrt {2}\, \sqrt {\operatorname {arccosh}\left (a x \right )}\, \sqrt {\pi }-\pi \,\operatorname {erf}\left (\sqrt {2}\, \sqrt {\operatorname {arccosh}\left (a x \right )}\right )-\pi \,\operatorname {erfi}\left (\sqrt {2}\, \sqrt {\operatorname {arccosh}\left (a x \right )}\right )\right )}{32 \sqrt {\pi }\, a^{2}}\) \(75\)

[In]

int(x*arccosh(a*x)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/32*2^(1/2)*(8*2^(1/2)*arccosh(a*x)^(1/2)*Pi^(1/2)*a^2*x^2-4*2^(1/2)*arccosh(a*x)^(1/2)*Pi^(1/2)-Pi*erf(2^(1/
2)*arccosh(a*x)^(1/2))-Pi*erfi(2^(1/2)*arccosh(a*x)^(1/2)))/Pi^(1/2)/a^2

Fricas [F(-2)]

Exception generated. \[ \int x \sqrt {\text {arccosh}(a x)} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(x*arccosh(a*x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [F]

\[ \int x \sqrt {\text {arccosh}(a x)} \, dx=\int x \sqrt {\operatorname {acosh}{\left (a x \right )}}\, dx \]

[In]

integrate(x*acosh(a*x)**(1/2),x)

[Out]

Integral(x*sqrt(acosh(a*x)), x)

Maxima [F]

\[ \int x \sqrt {\text {arccosh}(a x)} \, dx=\int { x \sqrt {\operatorname {arcosh}\left (a x\right )} \,d x } \]

[In]

integrate(x*arccosh(a*x)^(1/2),x, algorithm="maxima")

[Out]

integrate(x*sqrt(arccosh(a*x)), x)

Giac [F]

\[ \int x \sqrt {\text {arccosh}(a x)} \, dx=\int { x \sqrt {\operatorname {arcosh}\left (a x\right )} \,d x } \]

[In]

integrate(x*arccosh(a*x)^(1/2),x, algorithm="giac")

[Out]

integrate(x*sqrt(arccosh(a*x)), x)

Mupad [F(-1)]

Timed out. \[ \int x \sqrt {\text {arccosh}(a x)} \, dx=\int x\,\sqrt {\mathrm {acosh}\left (a\,x\right )} \,d x \]

[In]

int(x*acosh(a*x)^(1/2),x)

[Out]

int(x*acosh(a*x)^(1/2), x)